<!DOCTYPE html>
<html>
	<head>
		<meta charset="UTF-8">
		<title></title>
		<script type="text/javascript" src="js/jquery-1.11.2.min.js" ></script>
	</head>
	<body>
		<!--
			用一个或多个对象来扩展一个对象，然后返回被扩展的对象
		-->
		<script>
			var setting={
				validate:false,
				limit:5,
				name:"foo"
			}
			var options={
				validate:true,
				name:"bar"
			}
			var newOptions=jQuery.extend(setting,options);
			console.info(newOptions);
		</script>
	</body>
</html>
